package com.kakarote.crm9.erp.jxc.common;

import com.jfinal.config.Routes;
import com.kakarote.crm9.erp.jxc.controller.GoodsSuppliersConteoller;

import com.jfinal.config.Routes;
import com.kakarote.crm9.erp.jxc.controller.GoodsSpecificationController;
import com.kakarote.crm9.erp.jxc.controller.GoodsUnitController;
import com.kakarote.crm9.erp.jxc.controller.GoodsWarehouseController;
import com.kakarote.crm9.erp.jxc.controller.ProcurementOrderController;
import com.kakarote.crm9.erp.jxc.controller.*;

/**
 * @author xjl
 * @date 2021/3/15 16:53
 */
public class JxcRouter extends Routes {

    @Override
    public void config() {
        addInterceptor(new JxcInterceptor());
        add("/jxc/goodsCategory", GoodsCategoryController.class);
        add("/goodsUnit", GoodsUnitController.class);
        add("/suppliers", GoodsSuppliersConteoller.class);
        add("/goodsWarehouse", GoodsWarehouseController.class);
        add("/procurementOrder", ProcurementOrderController.class);
        add("/goodsSpecification", GoodsSpecificationController.class);
        add("/procurementItem", ProcurementItemController.class);
        add("/ProcurementOrderDetails", ProcurementOrderDetailsController.class);
    }
}
